package lab02.Test11;

/**
 * Created by lenovo on 2017/10/24.
 */
public class Experiment  {
    public static void main(String[] args) {
        Rectangle rectangle;
        Exception square;
        rectangle=new Rectangle(4,3);
        rectangle=new Square(4,3);
        rectangle.printMyWay();
       // Square.printMyWay();
    }

}
